home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / init.d / linux-restricted-modules-common < prev    next >
Text File  |  2008-07-06  |  349b  |  25 lines

  1. #!/bin/sh
  2.  
  3. test -x /sbin/lrm-manager || exit 0
  4.  
  5. . /lib/lsb/init-functions
  6.  
  7. case "$1" in
  8.     start)
  9.         log_begin_msg "Preparing restricted drivers..."
  10.         /sbin/lrm-manager --quick
  11.         status=$?
  12.         log_end_msg $status
  13.         if [ $status -ne 0 ]; then
  14.             exit $status
  15.         fi
  16.     ;;
  17.     stop|restart|reload|force-reload)
  18.     ;;
  19.     *)
  20.         echo "Usage: $0 {start}"
  21.     ;;
  22. esac
  23.  
  24. exit 0
  25.